package com.aididi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author ：xuzexiang
 * @description：
 * @date ： 2021/12/30 17:00
 */
@Data
@Entity
@Table(name = "organize")
public class Organize {

    @Id
    private Long id;

    @Column(name = "parent_id")
    private Long parentId;

    @Column(name = "name")
    private String name;

}
